TV Shows and Movies listed on Netflix

In this article, we analyze a dataset for Netflix tv shows and movies available at kaggle.com.

Data Description

This dataset consists of tv shows and movies available on Netflix as of 2019. The dataset is collected from Flexible which is a third-party Netflix search engine.

In 2018, they released an interesting report which shows that the number of TV shows on Netflix has nearly tripled since 2010. The streaming service’s number of movies has decreased by more than 2,000 titles since 2010, while its number of TV shows has nearly tripled. It will be interesting to explore what all other insights can be obtained from the same dataset.

Integrating this dataset with other external datasets such as IMDB ratings, rotten tomatoes can also provide many interesting findings.

Inspiration

Some of the interesting questions (tasks) which can be performed on this dataset -

Understanding what content is available in different countries Identifying similar content by matching text-based features Network analysis of Actors / Directors and find interesting insights Is Netflix has increasingly focusing on TV rather than movies in recent years?

Loading the Data

First off, let's take a look at NaN values.

Moreover, the dendrogram graph shows correlate variable completion.

Exploratory Data Analysis

Year Added

We can replace all nan values in date_added column with January 01, 2020.

Adding features

Comparing this data with Netflix timeline data, we can get some explanations behind this growth.

Country

We can define the following function to separate the values in each column.

Rating

Netflix used the following table to decide the maturity rating on TV shows and movies 2].

Little Kids Older Kids Teens Mature
G, TV-Y, TV-G PG, TV-Y7, TV-Y7-FV, TV-PG PG-13, TV-14 R, NC-17, TV-MA

Moreover, the Motion Picture Association of America film rating system (MPAA) film ratings are as follows

Rating Meaning
G General Audiences
PG Parental Guidance Suggested
PG-13 Parents Stongly Cautioned
R Restricted
NC-17 Adults Only
Unrated Unrated

Therefore,

Categories


References

  1. Kaggle Dataset: Netflix Movies and TV Shows
  2. Maturity ratings and classifications on Netflix
  3. Motion Picture Association of America film rating system Wikipedia page